package qianting.news.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import qianting.news.apis.models.wemedia.dtos.WmMaterialDto;
import qianting.news.apis.models.wemedia.pojos.WmMaterial;
import qianting.news.common.entity.State;

public interface WmMaterialService extends IService<WmMaterial> {

    /**
     * 图片上传
     * @param multipartFile
     * @return
     */
    public State uploadPicture(MultipartFile multipartFile);

    /**
     * 素材列表查询
     * @param dto
     * @return
     */
    public State findList( WmMaterialDto dto);

}